/*-----------------------------------------------------------------premiere section nav et acceuil-----------------------------------------------------*/
@media screen and (max-width: 400px) {
  .topsecgnl{
    position: relative;
    height: 70vh;
    width: 100%;
    overflow: hidden;
    background-color: rgba(102, 100, 100, 0.5)
  }
}
@media screen and (min-width: 401px) and (max-width:1349px) {
  .topsecgnl{
    position: relative;
    height: 80vh;
    width: 100%;
    overflow: hidden;
    background-color: rgba(102, 100, 100, 0.5)
  }
}  

/* Media query pour les écrans jusqu'à 768px */
@media (max-width: 768px) {
  nav{
      flex-direction: column;
  }

  .nav-header {
      width: 100%;
  }

  .menu-toggle {
      display: flex; /* Afficher le menu-toggle */
      flex-direction: column;
      justify-content: center;
      align-items: center;
  }

  .menu-toggle.active .bar:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.active .bar:nth-child(2) {
      opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
  }

  .navgnl {
      display: none; /* Masquer le menu principal par défaut */
      flex-direction: column;
      align-items: center;
      width: 100%;
  }

  .navgnl.active {
      display: flex; /* Afficher le menu principal lorsque le menu-toggle est activé */
      padding: 0%;
  }

  .linav {
      padding: 10px 0; /* Espacement des éléments du menu */
  }
}


@media (max-width:550px){
  .lientitre{
    text-align: center;
    color: #fff;
    background-color: #EF1F1F78;
    border-radius: 30px 30px 30px 30px;
    text-decoration: none;
    margin-left: 40%;
    margin-right: 40%;
    margin-top: 5%;
    width: 32%;
    padding-top: 1%;
    padding-bottom: 1%;
    display: flex;
    justify-content: center; /* Centrer horizontalement */
    }
}

@media screen and (max-width:550px) and (max-height:750px){
  .italique{
    text-align: center;
    color: #fff;
    padding-top: 5%;
    font-size: 1.25rem;
    font-style: italic;
    position: relative;
    
    }
  .titre{
    text-align: center;
    color: #fff;
    font-size: 2.70rem;
    margin: 0%;
    }
}

@media screen and (max-width:550px) and (min-height:750px){
  .italique{
    text-align: center;
    color: #fff;
    padding-top: 13%;
    font-size: 1.25rem;
    font-style: italic;
    position: relative;
    
    }
  .titre{
    text-align: center;
    color: #fff;
    font-size: 2.70rem;
    margin: 0%;
    }
}
@media screen and (min-width:550px) and (max-width:768px) and (max-height:815px){
  .italique{
    text-align: center;
    color: #fff;
    padding-top: 5%;
    font-size: 1.5rem;
    font-style: italic;
    position: relative;
    /**/
    }
  .titre{
    text-align: center;
    color: #fff;
    font-size: 4rem;
    margin: 0%;
    }
}
@media screen and (min-width:550px) and (max-width:768px) and (min-height:816px){
  .italique{
    text-align: center;
    color: #fff;
    padding-top: 10%;
    font-size: 1.5rem;
    font-style: italic;
    position: relative;
    /**/
    }
  .titre{
    text-align: center;
    color: #fff;
    font-size: 4rem;
    margin: 0%;
    }
}
/*
@media screen and (max-width:680px) and (min-width:550px){
  .italique{
    text-align: center;
    color: #fff;
    padding-top: 13%;
    font-size: 1.5rem;
    font-style: italic;
    position: relative;
    
    }
  .titre{
    text-align: center;
    color: #fff;
    font-size: 4rem;
    margin: 0%;
    }
}*/




/* ------------------------------------------------------------------cadre gris---------------------------------------------------------------------*/
@media screen and (max-width:520px) and (max-height:930px) {
  .cadre{
    height: 25vh;
  }
  
}


@media screen and (max-width:520px) and (min-height:930px) {
  .textgris{
    height: 60%;
  }
  
}

@media screen and (max-width:520px) {
  .logo{
    height: 37%;
    text-align: center;
  }
  
}
@media screen and (max-width:520px) {
  .imglogo{
    height: 100%;
  }
  
}

/*---------------*/
@media screen and (min-width:521px) and (max-width:768px) and (max-height:720px) {
  .cadre{
    height: 25vh;
  }
  
}
@media screen and (min-width:521px) and (max-width:768px) {
  .textgris{
    height: 50%;
  }
  
}

@media screen and (min-width:521px) and (max-width:768px) {
  .logo{
    height: 37%;
    text-align: center;
  }
  
}
@media screen and (min-width:521px) and (max-width:768px) {
  .imglogo{
    height: 100%;
  }
  
}






@media screen and (max-width: 768px) {
.troisimg {
    flex-direction: column;
    width: 70%; /* Les articles prennent toute la largeur lorsque l'écran est réduit */
    padding-left: 15%; /* Supprime le padding pour un alignement correct */
    padding-right: 15%;
    padding-top: 5%;
}
}

@media screen and (max-width: 768px) {
.drone-fpv, .realisation, .drone-stabilise {
    width: 100%; /* Les articles prennent toute la largeur lorsque l'écran est réduit */
    height: 100%;
}
}


/*------------------------------------------------------------------drone-fpv------------------------------------------------------*/
@media screen and (max-width: 768px) {
.drone-fpv {
  width: 100%;
  text-align: center;
  display: inline-block;
  position: relative;
}
}







@media screen and (max-width: 768px) {
.imgdrone-fpv {
    min-height: 30vh;
}
}


/*-------------------------------------------------------------------realisation--------------------------------------------------*/
@media screen and (max-width: 768px) {
.realisation {
  width: 100%;
  text-align: center;
  display: inline-block;
  position: relative;
}
}





@media screen and (max-width: 768px) {
.imgrealisation {
    min-height: 30vh;
}
}

/*------------------------------------------------------------------drone-stabilise-----------------------------------------------*/
@media screen and (max-width: 768px) {
.drone-stabilise {
  width: 100%;
  text-align: center;
  display: inline-block;
  position: relative;
}
}







@media screen and (max-width: 768px) {
.imgdrone-stabilise {
    min-height: 30vh;
}
}


/*---------------------------------------------------------------------------------3 images interractive-------------------------------------*/
@media screen and (max-width:800px){
.images_3_interractive {
  padding-top: 4%;
  display: flex;
  flex-direction: column; /* Alignement vertical des images */
  height: 40vh; /* Hauteur totale de la page */
  overflow: hidden; /* Pour éviter le débordement lorsque les images sont agrandies */
}
}


@media screen and (max-width:800px){
.image-wrapper {
  position: relative;
  overflow: hidden;
  transition: flex 0.3s; /* Transition pour le changement de hauteur */
  cursor: pointer;
  height: 33.33%;
  flex: 1; /* Chaque image prend toute la hauteur disponible */
}
}

@media screen and (max-width:800px){
.images_3_interractive:hover .image-wrapper {
  height: 25%;
}
}

/*------------------------------------------------------------------------------------------------------------------section realisation_cote_droite_gnl-----------*/

/*-----------realisation_cadre_photo_gnl-----*/

@media screen and (max-width: 500px){
.index_cadre_photo_gnl{
  flex-direction: column;
}

}

@media screen and (min-width: 500px) and (max-width: 768px){
.index_cadre_photo_gnl{
  flex-direction: column;
}

}
/*-----------realisation_cote_droite_gnl---ok--*/
@media screen and (max-width: 500px){
.index_cote_droite_gnl{
  flex-direction: column;
  width: 100%;
}

}

@media screen and (min-width: 500px) and (max-width: 768px){
.index_cote_droite_gnl{
  width: 100%;
  margin-top: 5%;
  display: flex;
  height: 60vh;
}
}

/*-----------realisation_cote_gauche_gnl---ok--*/
@media screen and (max-width: 500px){
.index_cote_gauche_gnl{
  width: 100%;
}
}

@media screen and (min-width:500px) and (max-width: 768px){
.index_cote_gauche_gnl{
  width: 100%;
  margin-top: 5%;
}
}
/*0px----500px*/
/*--------------------------------------------gauche photo----------------------------*/
@media screen and (max-width:500px){
  .index_cote_droite_cadre_gauche_gnl{
    height: 60vh;
  }
}
@media screen and (max-width:500px) {
  .index_cote_droite_cadre_gauche_haut{
    height: 26%;
    padding-top: 2.5%;
    padding-bottom: 2.5%;
  }
  
}

@media screen and (max-width:500px) {
  .index_cote_droite_cadre_gauche_bas{
    height: 65%;
    padding-top: 2.5%;
    padding-bottom: 2.5%;
  }
}

/*--------------------------------------------droite photo----------------------------*/
@media screen and (max-width:500px){
  .index_cote_gauche_cadre_droite_gnl{
    height: 60vh;
  }
}

@media screen and (max-width:500px) {
  .index_cote_gauche_cadre_droite_haut{
    height: 65%;
    padding-top: 1.5%;
    padding-bottom: 2.5%;
  }
  
}

@media screen and (max-width:500px) {
  .index_cote_gauche_cadre_droite_bas{
    height: 26%;
    padding-top: 2.5%;
    padding-bottom: 2.5%;
  }
  
}

/*501px----768px*/
/*--------------------------------------------gauche photo----------------------------*/
@media screen and (min-width:501px) and (max-width:768px) {
  .index_cote_droite_cadre_gauche_haut{
    height: 22%;
    padding-bottom: 3%;
  }
  
}

@media screen and (min-width:501px) and (max-width:768px) {
  .index_cote_droite_cadre_gauche_bas{
    height: 72%;
    padding-top: 3%;
  }
  
}
/*--------------------------------------------droite photo----------------------------*/
@media screen and (min-width:501px) and (max-width:768px) {
  .index_cote_gauche_cadre_droite_haut{
    height: 72%;
    padding-bottom: 3%;
  }
  
}

@media screen and (min-width:501px) and (max-width:768px) {
  .index_cote_gauche_cadre_droite_bas{
    height: 22%;
    padding-top: 3%;
  }
  
}
/*------------------------------------------------------------------------------------------------------------------section realisation_cote_droite_gnl-----------*/




/*--------------------------------------------partie--gauche---------------------------*/

@media screen and (max-width: 500px){
.index_cote_gauche_bar::after{
  content: '';
  width: 8%;
  height: 2px;
  position: absolute;
  background-color: #f00;
}
}



/*-------------------------------------------------------------------------------------------------------------footer--------------------------------------------------------------*/


@media screen and (max-width:768px) {
.footergnl{
  flex-direction: column;
  background-color: #9e9e9e;
  width: 80%;
  height: 125%;
  padding-left: 10%;
  padding-right: 10%; 
}
}



@media screen and (max-width:768px){
.reseau{
  width: 100%;
  padding-bottom: 5%;
  padding-top: 5%;
}
}



@media screen and (max-width:768px){
.reseau1{
  width: 90%;
  padding-left: 5%;
  padding-right: 5%;
}
}




@media screen and (max-width:768px){
.lienutile{
  width: 100%;
  padding-bottom: 5%;
  padding-top: 5%;
}
}


@media screen and (max-width:768px){
.lienutile1{
  width: 90%;
  height: auto;
  padding-left: 5%;
  padding-right: 5%;
}
}




@media screen and (max-width:768px){
.logofooter{
  width: 50%;
  height: auto;
  padding-bottom: 5%;
  padding-top: 5%;
}
}



@media screen and (max-width:768px){
.lienimportant{
  width: 100%;
  height: auto;
  padding-bottom: 5%;
  padding-top: 5%;
}
}



@media screen and (max-width:768px){
.lienimportant1{
  width: 90%;
  height: auto;
  padding-left: 5%;
  padding-right: 5%;
}
}






